package com.situ.day12.hom;

public class Test {
	public static void main(String[] args) {
		Fang fang = new Fang();
		System.out.println("输入-1");
		try {
			fang.sunShu(-1);
		} catch (Ping e) {
			e.printStackTrace();
		}
		System.out.println(fang.getX());
	}

}
